"""

"""

from flask_script import Manager
from flask_migrate import Migrate, MigrateCommand

from focus_dir import create_app, db,models

# 创建 flask app

app = create_app("develop")

# 集成脚本命令
manager = Manager(app)
manager.add_command("db", MigrateCommand)



# 集成数据库迁移
Migrate(app, db)

if __name__ == '__main__':
    manager.run()
